import Canvas from './Canvas'

import document from './document';

/*小魏*/
import navigator from './navigator'
import XMLHttpRequest from './XMLHttpRequest'
import WebSocket from './WebSocket'
import Image from './Image'
import ImageBitmap from "./ImageBitmap"
import Audio from './Audio'
import FileReader from './FileReader'
import HTMLElement from './HTMLElement'
import localStorage from './localStorage'
import location from './location'

export { Canvas }
export { document }
export { navigator }
export { XMLHttpRequest }
export { WebSocket }
export { Image }
export { ImageBitmap }
export { Audio }
export { FileReader }
export { HTMLElement }
export { localStorage }
export { location }
/** end */


export * from './WindowProperties'
export * from './constructor'

// 暴露全局的 canvas
const canvas = new Canvas()

export { canvas }
export { setTimeout }
export { setInterval }
export { clearTimeout }
export { clearInterval }
export { requestAnimationFrame }
export { cancelAnimationFrame }
